package com.sky.service.impl;

import com.sky.mapper.OrderMapper;
import com.sky.service.OrderOfCService;
import com.sky.vo.OrderVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderOfCServiceImpl implements OrderOfCService{

    @Autowired
    private OrderMapper orderMapper;
    /**
     *C端查询订单详情
     * @param id
     * @return
     */
    @Override
    public OrderVO findOrderOfC(Integer id) {
        return orderMapper.findOrderDetails(id);
    }
}
